using System;

namespace ProjectEuler.UI
{
    public static class EulerSays
    {
        public static string GetRandomEulerSays()
        {
            string[] eulerSays = {
                                     "Hey, that tickles!",
                                     "Stop clicking me!",
                                     "\"I have come from a country where people are hanged if they talk.\"",
                                     "\"For since the fabric of the universe is most perfect and the work of a most wise Creator, nothing at all takes place in the universe in which some rule of maximum or minimum does not appear.\"",
                                     "\"Sir, [(a+b)^n] / z = x, hence God exists--reply!\"",
                                     "I invented functions, you know.",
                                     "e = 2.71828 18284 59045 23536...",
                                     "Check out Wikipedia sometime, I'm really quite an interesting fellow!",
                                     "Numbers, numbers, numbers.",
                                     "Master of us all?  I don't know about that, but it's nice to be appreciated.",
                                     "I wonder how those New World colonies are doing...",
                                     "Sono cessato di calcolare e vivere",
                                     "It's not YOO-LER, by the way, it's OILER",
                                     "\"Mathematicians have tried in vain to this day to discover some order in the sequence of prime numbers, and we have reason to believe that it is a mystery into which the human mind will never penetrate.\"",
                                     "\"To those who ask what the infinitely small quantity in mathematics is, we answer that it is actually zero. Hence there are not so many mysteries hidden in this concept as they are usually believed to be.\""
                                 };

            var rand = new Random(DateTime.Now.Millisecond);

            int i = rand.Next(eulerSays.Length - 1);

            return eulerSays[i];
        }
    }
}